projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7c82656
)
(outline-next-preface):
author
Karl Heuer
<kwzh@gnu.org>
Sun, 7 Dec 1997 21:49:09 +0000
(21:49 +0000)
committer
Karl Heuer
<kwzh@gnu.org>
Sun, 7 Dec 1997 21:49:09 +0000
(21:49 +0000)
Don't try to move back if already at beginning of buffer.
lisp/textmodes/outline.el
patch
|
blob
|
history
diff --git
a/lisp/textmodes/outline.el
b/lisp/textmodes/outline.el
index 80c65a5301b77c7bd2e2336c4ad814fcdb6b2c1e..3debce3e189597edee12a14b9775876c850a3b08 100644
(file)
--- a/
lisp/textmodes/outline.el
+++ b/
lisp/textmodes/outline.el
@@
-309,7
+309,7
@@
at the end of the buffer."
(if (re-search-forward (concat "\n\\(" outline-regexp "\\)")
nil 'move)
(goto-char (match-beginning 0)))
- (if (
bolp
)
+ (if (
and (bolp) (not (bobp))
)
(forward-char -1)))
(defun outline-next-heading ()